package com.rbac.application.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rbac.domain.dto.response.MenuResponse;
import com.rbac.domain.entity.Menu;

import java.util.List;

public interface MenuService extends IService<Menu> {

    List<MenuResponse> getUserMenus(Long userId);

    List<Menu> getMenuTree();

    Menu createMenu(Menu menu);

    Menu updateMenu(Menu menu);

    void deleteMenu(Long id);
}